package com.ruoyi.jiaopei.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;

import java.io.Serializable;

/**
 * 课程视图对象 tb_curriculum
 *
 * @author macy
 * @date 2024-04-03
 */
@Data
@ExcelIgnoreUnannotated
public class TbCurriculumVo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @ExcelProperty(value = "ID")
    private Long id;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称")
    private String name;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "curriculum_type")
    private String type;

    /**
     * 价格
     */
    @ExcelProperty(value = "价格")
    private BigDecimal price;

    /**
     * 课时
     */
    @ExcelProperty(value = "课时")
    private BigDecimal lessonHours;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createdDate;


}
